package com.hyc.cloud.pojo;

import java.io.Serializable;
import java.util.Objects;


public class payment implements Serializable {
    @Override
    public int hashCode() {
        return Objects.hash(id, serial);
    }

    public payment() {
    }

    public payment(long id, String serial) {
        this.id = id;
        this.serial = serial;
    }

    @Override
    public String toString() {
        return "payment{" +
                "id=" + id +
                ", serial='" + serial + '\'' +
                '}';
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    private long id;
    private String serial;
}
